package com.edu.exam.enums.examination.online.technical;

/**
 * 色彩模式枚举
 */
public enum ColorMode {
    COLOR("COLOR", "彩色"),
    GRAYSCALE("GRAYSCALE", "灰度"),
    BLACK_WHITE("BLACK_WHITE", "黑白"),
    MONOCHROME("MONOCHROME", "单色"),
    RGB("RGB", "RGB"),
    RGBA("RGBA", "RGBA"),
    CMYK("CMYK", "CMYK"),
    HSV("HSV", "HSV"),
    HSL("HSL", "HSL"),
    LAB("LAB", "LAB"),
    XYZ("XYZ", "XYZ"),
    YUV("YUV", "YUV"),
    YCBCR("YCBCR", "YCbCr"),
    YCCK("YCCK", "YCCK"),
    DISP("DISP", "Disp"),
    ONE_CHANNEL("ONE_CHANNEL", "单通道"),
    TWO_CHANNEL("TWO_CHANNEL", "双通道"),
    THREE_CHANNEL("THREE_CHANNEL", "三通道"),
    FOUR_CHANNEL("FOUR_CHANNEL", "四通道"),
    MULTI_CHANNEL("MULTI_CHANNEL", "多通道");

    private final String code;
    private final String description;

    ColorMode(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

    public String getDisplayName() {
        return description;
    }
}
